﻿using Model;

namespace lBll
{
    public interface ljuMinBll
    {
        Task<int> Add(JuMin juMin);

        Task<int> Delete(int id);

        dynamic Find(int id);

        Task<int> Update(JuMin juMin);

        dynamic Show(string? name, int? type, int index, int size);

        /// <summary>
        /// 批量删除
        /// </summary>
        /// <param name="idstring"></param>
        /// <returns></returns>
        Task<int> Delted(string idstring);

        /// <summary>
        /// 批量修改状态
        /// </summary>
        /// <param name="idstring"></param>
        /// <returns></returns>
        Task<int> Updstate(string idstring);

        dynamic Xia();
    }
}
